//
//  Encipherment.h
//  XFWebSocket
//
//  Created by xiaofang wang on 2018/10/26.
//  Copyright © 2018年 zhiyuan. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface Encipherment : NSObject
+ (NSString *)hmacSha1:(NSString*)key value:(NSString*)value;
//给定一个字符串，对该字符串进行Base64编码，然后返回编码后的结果
+(NSString *)base64EncodeString:(NSString *)string;
//对base64编码后的字符串进行解码
+(NSString *)base64DecodeString:(NSString *)string;
@end

NS_ASSUME_NONNULL_END
